package com.example.test.service;

import com.example.test.bean.Customers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.test.bean.DTO.input.CustomersCreateInputDTO;
import com.example.test.bean.DTO.input.CustomersUpdateInputDTO;
import com.example.test.common.model.PageModel;
import com.example.test.common.model.R;

/**
 * <p>
 * 客户信息表 服务类
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
public interface CustomersService extends IService<Customers> {

    R getCustomByKeyword(String keyword, PageModel pageModel);

    R getCustomById(Long customerId);

    R addCustom(CustomersCreateInputDTO customersCreateInputDTO);

    R updateCustom(CustomersUpdateInputDTO customersUpdateInputDTO);

    R deleteCustom(Long customerId);


}
